package cn.kgc.zuxin;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author : 磊
 * Creat Date : 2022/10/17 22:32
 */
@Slf4j
@SpringBootApplication
@ServletComponentScan
@EnableTransactionManagement
@MapperScan("cn.kgc.zuxin.mapper")
public class ZuXinApplication {
    public static void main(String[] args) {
        SpringApplication.run(ZuXinApplication.class, args);
        log.info("项目祖鑫启动成功");
    }
}
